package com.qf.application.service.impl;

import com.qf.application.entity.Order;
import com.qf.application.mapper.OrderMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.qf.application.service.OrderService;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author l
 * @since 2024-07-09
 */
@Service
public class OrderServiceImpl extends ServiceImpl<OrderMapper, Order> implements OrderService {

    @Override
    public Boolean saveOrder(String img, Date date,Long userId) {
        return this.baseMapper.insertOrder(img, date, userId);
    }
}
